/**
 * 功能描述
 */
define(function (require, exports, module) {
    //引入视图基类
    var ELView = require("elview");

    var template = require("./assets/tpl/signupchargeback_main.tpl");
    require("./assets/css/signupchargeback_main.css");

    var chargebackSubnavComp = require("./component/chargebackSubnavComp");
    var chargebackGridComp = require("./component/chargebackGridComp");
    var chargebackFormComp = require("./component/chargebackFormComp");
    var chargebackEditGridComp = require("./component/chargebackEditGridComp");

    var App = ELView.extend({
        attrs: {
            template: template
        },
        initComponent: function (params, widget) {
        	chargebackSubnavComp.initComponent(params, widget);
        	chargebackGridComp.initComponent(params, widget);
        	chargebackFormComp.initComponent(params, widget);
        	chargebackEditGridComp.initComponent(params, widget);

        },
        afterInitComponent: function (params, widget) {
            widget.get("grid").refresh();
        }
    });

    module.exports = App;
});
